import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { OnetooneCheckComponent } from './check/check.component';
import { OnetooneDetailComponent } from './detail/detail.component';
import { EnclosureComponent } from './enclosure/enclosure.component';
import { CustomerComponent } from "./customer/customer.component";
const routes: Routes = [
	{
		path: "check",
		component: OnetooneCheckComponent
	},
	{
		path: "enclosure",
		component: EnclosureComponent
	},
	{
		path: "customer",
		component: CustomerComponent
	},
	{
		path: ":index/detail/:operate",
		component: OnetooneDetailComponent
	},
	{
		path: ":index/detail/:operate/:nFundNo",
		component: OnetooneDetailComponent
	},

];

@NgModule({
	imports: [RouterModule.forChild(routes)],
	exports: [RouterModule]
})
export class OnetooneRoutingModule { }
